<?php
include_once ('class/autoload.php'); // pour inclure nos classes
include_once ('class/config.inc.php');
$site = new page_securisee ( 'Ticket', "Consultation des Tickets", "Make some noise" );

if ($_GET ["name"] == "clotures") {
	$corps = '<input type="radio" id="choixTriTotal" checked name="choixTri" onchange="choixradioTotal()" value="total">Tri total
			<input type="radio" id="choixTriDate" name="choixTri"  onchange="choixradioDate()" value="par date">Tri par date<br>
			<input type="search" placeholder="Recherche" id="recherche" onkeyup="recherche();">
			<input type="text" placeholder="Date Debut" id="dateDebut">
			<input type="text" placeholder="Date Fin" id="dateFin">
			<input type="button" value="Trier" id="btn_tri" onclick="rechercheDate()";>';
	$corps .= affiche_tout_tk_fini ();
}
if ($_GET ["name"] == "nonclotures") {
	$corps = affiche_tout_tk_attente ();
	$corps .= '<form action="DetailsAppels.php" method="POST">
					</form>
  </div>
</div>';
}

$site->corps = $corps;
$site->affiche ();
?>

